package op_ed_meth0d_override01;

public class cooker extends Person{
    public cooker(int jobNumber, String name, int wages){
        super(jobNumber,name,wages);
    }
    //工作
    @Override
    public void work(){
        System.out.println(this.name+"在炒菜");
    }
}
